package game

import (
	"github.com/flipped-aurora/gin-vue-admin/server/middleware"
	"github.com/gin-gonic/gin"
)

type UserGameInfoRouter struct{}

func (s *UserGameInfoRouter) InitUserGameInfoRouter(Router *gin.RouterGroup) {
	apiRouter := Router.Group("userGameInfo").Use(middleware.OperationRecord())
	{
		apiRouter.POST("getUserGameInfoList", userGameInfoApi.GetUserGameInfoList) // 获取路由组
		apiRouter.POST("createUrl", userGameInfoApi.CreateUserGameInfo)            // 创建Api
		apiRouter.DELETE("deleteUserGameInfo", userGameInfoApi.DeleteUserGameInfo) // 删除Api
	}
}
